<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
	<div class="span5">
		<div class="logo">
			<a href="${ pageContext.request.contextPath }/index.action" >
				<img src="${pageContext.request.contextPath}/image/logo.gif" alt="taoshop"/>
			</a>
		</div>
	</div>
	<div class="span9">
		<div class="headerAd">
			<img src="${pageContext.request.contextPath}/image/header.jpg" width="320" height="50" alt="正品保障" title="正品保障"/>
		</div>	
	</div>
	
	<div class="span10 last">
		<div class="topNav clearfix">
		<ul>
			
			<s:if test="#session.existUser == null">
			<li id="headerLogin" class="headerLogin" style="display: list-item;">
				<a href="${ pageContext.request.contextPath }/user_loginPage.action">登录</a>|</li>
			<li id="headerRegister" class="headerRegister"
				style="display: list-item;"><a href="${ pageContext.request.contextPath }/user_registPage.action">注册</a>|
			</li>
			</s:if>
				
			<s:else>
		
			<li id="headerLogin" class="headerLogin" style="display: list-item;">
				<a href="#"><s:property value="#session.existUser.name"/></a>
				|</li>
			
			<li id="headerLogin" class="headerLogin" style="display: list-item;">
				<a href="${ pageContext.request.contextPath }/order_findByUid.action?page=1" >我的订单</a>
			|</li>
			<li><a>个人中心</a> |</li>
			<li id="headerRegister" class="headerRegister"
				style="display: list-item;"><a href="${ pageContext.request.contextPath }/user_quit.action">退出</a>
				|</li>
			
			
			</s:else>
	
			
		
			<li><a>关于我们</a></li>
		</ul>
		</div>
		<div class="cart">
			<a href="${ pageContext.request.contextPath }/cart_myCart.action">购物车</a>
		</div>
		<div class="phone">
		<a class="qq" href="tencent://message/?uin=434367455&Site=127.0.0.1&Menu=yes" target="_blank" style="display:block">
			联系客服:<strong>000001</strong></a>
		</div>
	</div>
	

